<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="__STATIC__/layuimini/lib/layui-v2.6.3/css/layui.css" media="all">
    <title>Title</title>
</head>
<body>
    <input id="ddd" type="text">
    <button id="sss">qwe</button>
</body>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<script src="__STATIC__/layuimini/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="__STATIC__/layuimini/lib/jquery-3.4.1/jquery-3.4.1.min.js" charset="utf-8"></script>
<script>
    //页面层
    $("button#sss").click(function () {

        var ss= window.document.getElementById("ddd").value
        window.PartitionId=ss;

        layer.open({
            type: 2,
            skin: 'layui-layer-rim', //加上边框
            content: "{:url('/lunwen/open_test')}",
            area: ['420px', '240px'], //宽高

        });
    });
</script>
</html>